﻿namespace Jim.K3Cloud;

/// <summary>
/// 星空菜单分组
/// </summary>
public class K3CloudSubFunc : EntityBaseId<string>
{

    /// <summary>
    /// 编码
    /// </summary>
    public string? Number { get; set; }

    /// <summary>
    /// 模块名称
    /// </summary>
    public string? Name { get; set; }

    /// <summary>
    /// 排序
    /// </summary>
    public int? Seq { get; set; }
    /// <summary>
    /// 是否默认
    /// </summary>
    public bool? IsDefault { get; set; }

    /// <summary>
    /// 类型
    /// </summary>
    public K3CloudMenuType MenuType { get; set; }
    /// <summary>
    /// 上级
    /// </summary>
    public string? ParentId { get; set; }

    /// <summary>
    /// 租户Id
    /// </summary>
    public long? TenantId { get; set; }

    /// <summary>
    /// 菜单子项
    /// </summary>
    public List<K3CloudDetailFunc> Children { get; set; } 


    /// <summary>
    /// 子模块
    /// </summary>
    public K3CloudSubSystem Parent { get; set; }
}
